package pers.mobian.springseventh;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * @Date 2021/7/18 17:06
 * @Created mobian
 * @Description
 */
public class MoBian2 implements FactoryBean {
	@Override
	public Object getObject() throws Exception {
		return new Car();
	}

	@Override
	public Class<?> getObjectType() {
		return Car.class;
	}
}
